package com.hzhr.iot.login.sdk.model.token;

import com.hzhr.iot.core.model.ResponseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "TokenModel", description = "令牌模型")
public class TokenModel extends ResponseModel {
    @ApiModelProperty(value = "说明 : 令牌", required = true)
    private String token;
    @ApiModelProperty(value = "说明 : rs令牌", required = true)
    private String rsToken;
    @ApiModelProperty(value = "说明 : 过期时间(毫秒级时间戳;0代表不过期)", required = true)
    private Long expireTime;
    @ApiModelProperty(value = "说明 : 用户类型", required = true)
    private String userType;
    @ApiModelProperty(value = "说明 : 是否是新用户", required = true)
    private String isNewUser;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Long expireTime) {
        this.expireTime = expireTime;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getIsNewUser() {
        return isNewUser;
    }

    public void setIsNewUser(String isNewUser) {
        this.isNewUser = isNewUser;
    }

    public String getRsToken() {
        return rsToken;
    }

    public void setRsToken(String rsToken) {
        this.rsToken = rsToken;
    }
}

